package com.hungry.hfw.dao;

public class HungryDAOException extends Throwable {

	private static final long serialVersionUID = 1L;
	private static final String HUNGRY_ERROR_404 = "ERROR - UNKNOWN";
	public static final String HUNGRY_INTERNAL = "Internal Error";
	public static final String DB_UNAVAILABLE = "Database Unavailable";
	public static final String INTEGRITY_ERROR_MSG = "Invalid Record";
	public static final String HUNGRY_RETRIEVAL_FAILURE = "Failed to fetch records";
	public static final String RECORD_NOT_FOUND = "Record not found";
	public static final String QUERY_NAME_NOT_AVAILABLE="Could not find Query Name";

	public HungryDAOException() {
		super(HUNGRY_ERROR_404);
		
	}

	public HungryDAOException(String message, Throwable cause) {
		super(message, cause);
		
	}

	public HungryDAOException(String message) {
		super(message);
		
	}

	public HungryDAOException(Throwable cause) {
		super(HUNGRY_ERROR_404, cause);
		
	}
	
}
